package com.jamesacurtis.MyBudget;

import android.app.TabActivity;
import android.os.Bundle;
import android.widget.TabHost;

public class Summary extends TabActivity {
	TabHost mTabHost;
	
	
	public void onCreate(Bundle savedInstanceState) {
	    super.onCreate(savedInstanceState);
	    setContentView(R.layout.summary);

	    mTabHost = getTabHost();
	    
	    mTabHost.addTab(mTabHost.newTabSpec("tab_test1").setIndicator("Expenses").setContent(R.id.llayout1));
	    mTabHost.addTab(mTabHost.newTabSpec("tab_test2").setIndicator("Income").setContent(R.id.llayout2));
	    mTabHost.addTab(mTabHost.newTabSpec("tab_test3").setIndicator("Overall").setContent(R.id.llayout3));
	    
	    mTabHost.setCurrentTab(0);
	}
}
